package cn.tedu.csms.product.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Storage {
    @ApiModelProperty(value = "库存storageId")
    private  Long storageId;
    @ApiModelProperty(value = "商品goodsId")
    private  Long goodsId;
    @ApiModelProperty(value = "店铺id")
    private  Long shopId;
    @ApiModelProperty(value = "库存量")
    private  Long storage;
    @ApiModelProperty(value = "销量")
    private  Long sales;
    @ApiModelProperty(value = "销售价格")
    private BigDecimal price;
    @ApiModelProperty(value = "存储模式")
    private  String storageMode;
    @ApiModelProperty(value = "销售单位")
    private  String salesUnit;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private  Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private  Date updateTime;










}
